Skip to content

SyncLatestCoordinatorBase class

Defined in

Namespace: ReactiveUI.Primitives.Async.Advanced Assembly: ReactiveUI.Primitives.Async.Core.dll Full name: ReactiveUI.Primitives.Async.Advanced.SyncLatestCoordinatorBase<T> Modifiers: public abstract

Summary

View source

Shared scaffolding for the arity-specific CombineLatestN subscription types. Each per-arity SyncLatestCoordinator derives from this class so the otherwise-identical SyncLatestLifecycle wiring (gate / dispose CTS / external link), the values-lock, the source-subscribe loop, the error-resume forwarder, and DisposeAsync live here once instead of repeated 15× across CombineLatest2..16.

Applies to

net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-browserwasm1.0, net9.0-desktop1.0, net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.1, net462, net481

Class hierarchy
classDiagram
class SyncLatestCoordinatorBase~T~
class IAsyncDisposable {
    <>
}
IAsyncDisposable <|.. SyncLatestCoordinatorBase~T~

Implements: IAsyncDisposable

Constructors

NameSummary
.ctorInitializes a new instance of the [SyncLatestCoordinatorBase](# class.

Methods

NameSummary
SubscribeSourcesAsyncSubscribes to every source observable via [SubscribeAtAsync](#
DisposeAsync
SubscribeAtAsyncSubscribes to a single source by 0-based index. Implemented per-arity by the derived SyncLatestCoordinator with a typed switch dispatch over the bundled sources.
Inherited members